﻿@model Mailias.UI.Web.Models.MailiasSettingsViewModel

@{
    ViewBag.Title = "Index";
}

<h2>Mailias Settings</h2>


@using (Html.BeginForm("Index", "MailiasSettings"))
{
     <fieldset>
        <legend>Mailias SMTP Settings</legend>
    
        <label for="Address">Address:</label>
        @Html.TextBoxFor(m => m.SmtpSettings.Address)
            <br />
        <label for="Port">Port:</label>
        @Html.TextBoxFor(m => m.SmtpSettings.Port)
        
        <br/>
        <input type="submit" name="submit" value="Save"/>
    </fieldset>
}

